package main

import "fmt"

type Student struct {
	id   int
	name string
	age  int
}
type teacher struct {
	id   int
	name string
}

func (s *Student) PrintShow() {
	fmt.Println(*s)
}
func (t *teacher) PrintShow() {
	fmt.Println(*t)
}
func main() {
	var stu Student = Student{1, "z", 3}
	var tea teacher = teacher{1, "t"}
	stu.PrintShow()
	tea.PrintShow()
}
